<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="imgs/favicon.ico" type="image/x-icon" />
    <title>小米商城 - Xiaomi 12、Redmi K50、MIX FOLD，小米电视官方网站</title>
    <style>
        .container{
            width: 1226px;
            height: 100px;
            margin: auto;
            /* border: 1px solid #999; */
            position: relative;
        }
        .logo{
            float: left;
            margin-top: 22px;
            width: 62px;
        }
        .logo img{
            width: 56px;
            height: 56px;
        }
        .nav{
            float: left;
            width: 850px;
            /* border: 1px solid red; */
            height: 100px;
        }
        .nav ul{
            padding: 12px 0px 0px 30px;
            font-size: 16px;
            position: relative;
            list-style-type:none;
            margin: 0;
        }
        .nn{
            float: left;
            width: 127px;
            padding-right: 15px;
            position: relative;
        }

        .nav ul>li{
            float: left;
            color: #333;
            padding: 26px 10px 38px;
        }

        .search{
            position: relative;
            width: 296px;
            height: 50px;
            float: right;
            margin-top: 25px;
           
            /* border: 1px solid red; */
           
        }

        .search_input{
            /* position: absolute;
            top: 0px;
            height: 48px;
            border: 1px solid #e0e0e0;
            padding-left: 10px;
            padding-right: 10px; */
            /* right: 51px; */
            z-index: 1;
            width: 210px;
            height: 48px;
            padding: 0 10px;
            font-size: 14px;
            line-height: 48px;
            float: left;
        }
        .sb{
            position: relative;
            float: right;
        }
        .search_btn{
            position: absolute;
            right: 0px;
            /* border: 1px solid #e0e0e0; */
            width: 52px;
            height: 52px;
            background-color: orangered;
            color: white;
            border: 0px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo">
            <img src="imgs/logo-mi2.png">
        </div>
        <div class="nav">
            <ul>
                <li class="nn"></li>
                <li>Xiaomi手机</li>
                <li>Redmi手机</li>
                <li>电视</li>
                <li>笔记本</li>
                <li>平板</li>
                <li>家电</li>
                <li>路由器</li>
                <li>服务中心</li>
                <li>社区</li>
            </ul>
        </div>
        <div class="search">
            <div class="search_input">
                <input type="text" value="电视" class="search_input">
            </div>
            <div class="sb">
            
                <button type="button" class="search_btn">🔍</button>

            </div>
        </div>
    </div>
</body>
</html>